package com.zhj.designpatten;

import org.springframework.context.ApplicationEvent;
import sun.applet.AppletEvent;
import sun.applet.AppletListener;

import java.util.List;

/**
 * Copyright: Copyright (c) 2020 hantu
 *
 * @ClassName: OrderCreateEvent
 * @Description:
 * @version: v1.0.0
 * @author: zhanghaojie
 * @date: 2020/5/18
 */
public class OrderCreateEvent extends ApplicationEvent {

    private String name;

    //消息参数
    private List<String> contentList;

    public OrderCreateEvent(Object source, String name, List<String> contentList) {
        super(source);
        this.name = name;
        this.contentList = contentList;
    }

    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public List<String> getContentList() {
        return contentList;
    }
    public void setContentList(List<String> contentList) {
        this.contentList = contentList;
    }


}
